package com.example.act6.assist;

import org.activiti.engine.delegate.event.ActivitiEventType;
import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Handler {

    @AliasFor(annotation = Component.class)
    String value() default "";

    ActivitiEventType eventType();
}
